﻿//using Microsoft.CodeAnalysis;

//namespace UIOC.CodeAnalysis.Diagnostics;

//internal static class AutoImplementFieldNotAllowSetterDiagnostic {

//    public const string DiagnosticId = "UIOC0012";

//    private const string Title = "'[AutoImplement]' 'Property Setter' 分析";
//    private const string MessageFormat = "字段 '{0}' 标记了 '[AutoImplementField]'，需要属性只读，禁止声明 ‘set’";
//    private const string Description = "检测对标记了'[AutoImplementField]' 的属性存在 'set'，不可声明";
//    private const string Category = "Usage";

//    public static readonly DiagnosticDescriptor Rule = new(
//        DiagnosticId,
//        Title,
//        MessageFormat,
//        Category,
//        DiagnosticSeverity.Error,
//        isEnabledByDefault: true,
//        description: Description
//    );
//}
